package com.lipo.mapper;

import java.util.List;

import com.lipo.model.User;

public interface UserMapper {

	int save(User user);
	boolean update(User user);
	boolean delete(String token);
	User findByToken(String token);
	List<User> findAll();
	User findUser(String username,String password);
	User findByName(String username);
}
